package top.jle.wx.proxy.domain.menu;

import io.swagger.v3.oas.annotations.media.Schema;

public class Basic {

    @Schema(title="菜单名")
    protected String name;
    @Schema(title="菜单类型",example = "click")
    protected String type;
    @Schema(title="事件KEY，推送相关,按钮类相关必传")
    protected String key;
    @Schema(title="跳转URL view和miniprogram类型必转 miniprogram类型为兼容低版本微信提供的页面")
    protected String url;
    @Schema(title="素材ID，media_id和view_limited类型必传,素材ID必须是素材库中存在的")
    protected String media_id;
    @Schema(title="小程序appId，miniprogram类型必传")
    protected String appid;
    @Schema(title="小程序页面路径，miniprogram类型必传")
    protected String pagepath;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMedia_id() {
        return media_id;
    }

    public void setMedia_id(String media_id) {
        this.media_id = media_id;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getPagepath() {
        return pagepath;
    }

    public void setPagepath(String pagepath) {
        this.pagepath = pagepath;
    }
}
